﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}


@section HeaderContent{
<script type="text/javascript">
    function openEdit() {
        var dt = new Date();

        var href = "/Home/testpopup?&dt=" + dt.getTime();
        $("#popup_content").load(href);        
        showPopup('Insert product...');
    }

    function testAlert() {
        cusAlert("Chaof mung ban den voi web site cua chug toi...");

    }
</script>
}

@section Toolbar {

<a class="btn_boder btn_new">New</a>
<a class="btn_boder btn_save">Save</a>
<a class="btn_boder btn_edit">Edit</a>
<a class="btn_boder btn_delete">Delete</a>
<a class="btn_boder btn_cancel">Cancel</a>


}
<h2>Index</h2>




<a href="#" onclick="openEdit();">test popup</a>

<a href="#" onclick="testAlert();">test alert</a>
